package org.demo1;

public class student {
    private String name;
    private int age;

    public student() {
    }

    protected student(String name){
        this.name=name;
    }

    protected student(int age) {
        this.age = age;
    }

    private student(String name, int age) {
        this.name = name;
        this.age = age;
    }

}
